package com.erp.erp_entitys.warehouse.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 仓库管理-海外仓库租金表(WarehouseRent)实体类
 *
 * @author lst
 * @since 2021-06-16 02:54:05
 */
public class WarehouseRentEntity implements Serializable {
    private static final long serialVersionUID = 727963167156757358L;
    /**
    * 主键id
    */
    private Integer id;
    /**
    * 租金总额
    */
    private BigDecimal totalRent;
    /**
    * 分摊天数
    */
    private BigDecimal apportionedDays;
    /**
    * 每天分摊金额
    */
    private BigDecimal dailyApportionmentAmount;
    /**
    * 剩余金额
    */
    private BigDecimal balance;
    /**
    * 分摊仓库名称
    */
    private String warehouseName;
    /**
    * 分摊仓库编码
    */
    private String warehouseCode;
    /**
    * 分摊条件(1.净重 2.毛重 3.体积 4.数量)
    */
    private Integer sharingConditions;
    /**
    * 操作员名称
    */
    private String operationName;
    /**
    * 操作员编码
    */
    private String operationCode;
    /**
     * 执行日期
     */
    private Date executionDate;
    /**
    * 创建时间
    */
    private Date createDate;
    /**
    * 修改时间
    */
    private Date modifyTime;
    /**
    * 状态(1.草稿 2.已启动 3.已停止)
    */
    private Integer status;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getTotalRent() {
        return totalRent;
    }

    public void setTotalRent(BigDecimal totalRent) {
        this.totalRent = totalRent;
    }

    public BigDecimal getApportionedDays() {
        return apportionedDays;
    }

    public void setApportionedDays(BigDecimal apportionedDays) {
        this.apportionedDays = apportionedDays;
    }

    public BigDecimal getDailyApportionmentAmount() {
        return dailyApportionmentAmount;
    }

    public void setDailyApportionmentAmount(BigDecimal dailyApportionmentAmount) {
        this.dailyApportionmentAmount = dailyApportionmentAmount;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public Integer getSharingConditions() {
        return sharingConditions;
    }

    public void setSharingConditions(Integer sharingConditions) {
        this.sharingConditions = sharingConditions;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public Date getExecutionDate() {
        return executionDate;
    }

    public void setExecutionDate(Date executionDate) {
        this.executionDate = executionDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WarehouseRentEntity").append('[')
                .append("id=")
                .append(id)
                .append(",totalRent=")
                .append(totalRent)
                .append(",apportionedDays=")
                .append(apportionedDays)
                .append(",dailyApportionmentAmount=")
                .append(dailyApportionmentAmount)
                .append(",balance=")
                .append(balance)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",sharingConditions=")
                .append(sharingConditions)
                .append(",operationName=")
                .append(operationName)
                .append(",operationCode=")
                .append(operationCode)
                .append(",executionDate=")
                .append(executionDate)
                .append(",createDate=")
                .append(createDate)
                .append(",modifyTime=")
                .append(modifyTime)
                .append(",status=")
                .append(status)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}